export default {
  // Global page headers: https://go.nuxtjs.dev/config-head
  head: {
    title: "精品排行榜 - 各类榜单排名大全",
    htmlAttrs: {
      lang: "ZH-CN",
    },
    meta: [
      { charset: "utf-8" },
      { name: "viewport", content: "width=device-width, initial-scale=1" },
      {
        hid: "description",
        name: "description",
        content: "精品排行榜,精品导航,精品搜索,",
      },
      { name: "format-detection", content: "telephone=no" },
      {
        name: "keywords",
        content:
          "精品排行榜，热搜榜，热议榜，影视榜,音乐榜,摄影部,设计帮,财富榜,产品榜,游戏榜,大数据,其他榜,网址导航",
      },
    ],
    link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
  },

  // Global CSS: https://go.nuxtjs.dev/config-css
  css: [
    'element-ui/lib/theme-chalk/index.css',
    '@/static/baseCss.css'
  ],

  // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  plugins: [
    '@/plugins/element-ui',

  ],

  // Auto import components: https://go.nuxtjs.dev/config-components
  components: true,

  // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  buildModules: [
  ],

  // Modules: https://go.nuxtjs.dev/config-modules
  modules: [
    // https://go.nuxtjs.dev/axios
    '@nuxtjs/axios',
  ],

  // Axios module configuration: https://go.nuxtjs.dev/config-axios
  axios: {
    // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308
    baseURL: 'https://mock.apipost.cn/app/mock/project/b02c968f-735c-4f4c-980d-8e8bde4e7273',
  },

  // Build Configuration: https://go.nuxtjs.dev/config-build
  build: {
    transpile: [/^element-ui/],
  },
}
